package com.tzy.rpc.register;/**
 * @description:
 * @Author HP
 * @create 2022/3/17 22:02
 */

import java.net.InetSocketAddress;

/**
 * @author HP
 * @create 2022-03-17 22:02
 * @desc ServiceDiscovery
 **/
public interface ServiceDiscovery {
    /**
     * 根据服务名称查找服务实体
     * @param serviceName
     * @return 服务实体
     */
     InetSocketAddress lookupService(String serviceName);

}
